<@mits.headerDiv />
<div class="Main" id="Main">
	<!--屏幕切换-->
   
    
    
	<!--左边-->

	<!--右边-->
	<div class="Main_body" id="Main_body">
			  <div class="Main_bodyListBar">
				<div class="Main_bodyListBar_head"><span>用户信息</span> </div>
		<@mits.showActionMsg />
	    <div class="Main_bodyListBar_body">
	   <table border="0" cellspacing="1" cellpadding="0" class="addTable" >
				  	<form name="viewUserForm" id="viewUserForm" action="" method="post">
				  	<input type="hidden" name="userId" id="userId" value="${user.id?if_exists}">
						<tr>
							<td class="title">用户名：<font color="red">*</font></td>
							<td class="content2" colspan="3">${user.userName?if_exists?html}</td>
					 		
					  	</tr>

						<tr>
							<td class="title">平台角色：</td>
							<td class="content">${(user.role.roleName)?if_exists?html}</td>
				  
                          	<td class="title">姓名：</td>
						  	<td class="content">${user.name?if_exists?html}</td>
					  	</tr>
						
						<tr>
                          <td class="title">部门：</td>
						  <td class="content"></td>
                          <td class="title">状态：</td>
						  <td class="content"><#if user.status == 1>有效<#elseif user.status == 0>无效</#if></td>
					  	</tr>
					</form>
					</table>
				
                    <br />

			</div>
				<div class="Main_bodyListBar_bottom">
				  <div class="Main_bodyListBar_button">
				  <input type="button" class="button" value="编辑" onclick="editUser()" />
				  <input type="button" class="button" value="返回" onclick="returnBack()" />
				  </div>
					
				</div>
			<div class="Main_bodyListBar_foot"></div>
		  </div>
		</div>
	
</div>
<script language="javascript">
  function returnBack() {
  window.location = "${base}/auth/system/userList.action";
 }
 function editUser() {
   $('viewUserForm').action="${base}/auth/system/editUser.action";
    $('viewUserForm').submit();
 }
 
</script>
<@mits.footerDiv />


